import request from '@/utils/request/base'

// 获取验证码
export function getCode() {
    return request({
        url: '/captchaImage',
        method: 'get'
    })
}
// 登录
export function login(data) {
    return request({
        url: '/login',
        method: 'post',
        data
    })
}